import React from 'react';
import { Icon, Tools, Result } from 'weaver-mobile';
const getLabel = Tools.getLabel;

class NoData extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
    }
    
  }

  render(){
    const {msg} = this.props;
    const renderNoData = (
      <div style={{height:'100%'}}>
        <div className={'wm-comment-nodata'} >
          <Result
            img={<Icon type="no-data" />}
            message={msg?msg:getLabel(83553, '暂无数据')}
          />
        </div>
      </div>
    );

    return (
      renderNoData
    );  
  }
}

export default NoData;

